﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Http</title>
    <link rel="stylesheet" href="assets/styles/app.css">
    <script src="assets/scripts/app.js" defer></script>
</head>
<body>
<template id="single-post">
    <li class="post-item">
        <h2></h2>
        <p></p>
        <button>DELETE</button>
    </li>
</template>
<section id="new-post">
    <form>
        <div id="form-control">
            <label for="title">Title</label>
            <input id="title" type="text">
        </div>
        <div class="form-control">
            <label for="content">Content</label>
            <textarea name="content" id="content" rows="3"></textarea>
        </div>
        <button type="submit">ADD</button>
    </form>
</section>

<section id="available-posts">
    <button>FETCH POSTS</button>
    <ul class="posts"></ul>
</section>

</body>
</html>